package io.github.qifan777.server.deliver.entity;

import io.github.qifan777.server.dict.model.DictConstants;
import io.github.qifan777.server.infrastructure.jimmer.BaseEntity;
import io.qifan.infrastructure.generator.core.GenDictField;
import io.qifan.infrastructure.generator.core.GenEntity;
import io.qifan.infrastructure.generator.core.GenImageField;
import org.babyfish.jimmer.sql.Entity;

/**
 * 接单者
 */
@GenEntity
@Entity
public interface Deliver extends BaseEntity {

    /**
     * 身份证正面
     */
    @GenImageField(label = "身份证正面", order = 1)
    String idCardFront();

    /**
     * 身份证反面
     */
    @GenImageField(label = "身份证反面", order = 2)
    String idCardBack();

    /**
     * 状态
     */
    @GenDictField(label = "状态", order = 3, dictEnName = DictConstants.APPROVE_STATUS)
    DictConstants.ApproveStatus status();
}

